///阅读程序并确定程序做了什么

#include <iostream>
#include <ostream>

int main() {
	int sum(0);
	int count(0);
	int x;
	while (std::cin >> x) {
		sum = sum + x;
		count = count + 1;
	}

	std::cout << "average = " << sum / count << "\n";
}
